package cn.anlaser.form;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotNull;

import lombok.Data;
import lombok.EqualsAndHashCode;

import org.springframework.data.domain.Sort.Direction;

import cn.anlaser.status.FlagEnum;

@Data
@EqualsAndHashCode(callSuper = false)
public abstract class CommonForm implements Serializable {
	@NotNull
	private Long id;
	private String orders;
	private Direction direction = Direction.ASC;
	private FlagEnum flag;

	private Date createdDate;
	private Long createdBy;
	private String msg;
	
	private Long siteId;
}
